package com.sun.alen.service;

import com.sun.alen.entity.Admin;
import com.sun.alen.entity.PageBean;
import com.sun.alen.entity.Teacher;

import java.util.List;

public interface TeacherService {
    boolean add(Teacher teacher);

    boolean update(Teacher teacher);

    boolean delete(String id);

    PageBean search(String input, String select, Integer currentPage, Integer pageSize);

    List<Teacher> all();

    List<Teacher> getTeacherByPro(String id);

    Teacher login(Teacher teacher);

    int repass(String phone, String pass, String verify);

    boolean updateImg(Teacher teacher);

    Teacher selectById(int teacherId);

    boolean updatePassword(Teacher teacher);
}
